<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fees')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fees" data-rule="required" class="form-control" name="row[fees]" type="text" value="{$order.pay_amount|htmlentities}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Look_up_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-look_up_type" data-rule="required" class="form-control" type="text" value="{$look_up.title_type|htmlentities}" disabled>
        </div>
    </div>
    {if $look_up.title_type == 1}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Invoice_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-invoice_type" data-rule="required" class="form-control" type="text" value="{$look_up.invoice_type_text|htmlentities}" disabled>
        </div>
    </div>
    {/if}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Look_up')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-look_up" data-rule="required" class="form-control" type="text" value="{$look_up.invoice_title|htmlentities}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" data-rule="required" class="form-control" type="text" value="{$look_up.mobile|htmlentities}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('电子邮箱')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-email" data-rule="required" class="form-control" type="text" value="{$look_up.email|htmlentities}" disabled>
        </div>
    </div>
    {if $look_up.type == 2 || $look_up.invoice_type == 2}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('单位税号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-unit_tax_number" data-rule="required" class="form-control" type="text" value="{$look_up.unit_tax_number|htmlentities}" disabled>
        </div>
    </div>
    {/if}
    {if $look_up.type == 2 || $look_up.invoice_type == 2}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('注册地址')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-registered_address" data-rule="required" class="form-control" type="text" value="{$look_up.registered_address|htmlentities}" disabled>
        </div>
    </div>
    {/if}
    {if $look_up.type == 2 || $look_up.invoice_type == 2}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('开户银行')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_of_deposit" data-rule="required" class="form-control" type="text" value="{$look_up.bank_of_deposit|htmlentities}" disabled>
        </div>
    </div>
    {/if}

    {if $look_up.type == 2 || $look_up.invoice_type == 2}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('银行行号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_no" data-rule="required" class="form-control" type="text" value="{$look_up.bank_no|htmlentities}" disabled>
        </div>
    </div>
    {/if}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remarks')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remarks" data-rule="required" class="form-control" rows="5" name="row[remarks]" cols="50" readonly>{$row.remarks|htmlentities}</textarea>
        </div>
    </div>
    {if $row.file}

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">发票:</label>
        <div class="col-xs-12 col-sm-8">
            <button type="button" class="btn btn-info" onclick="window.open('{$row.file|htmlentities}')">查看</button>
        </div>
    </div>
    {/if}
</form>
